﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Snowdreamist.Windows.Navigation
{
    /// <summary>
    /// The object which is aware of navigation
    /// </summary>
    public interface INavigationAware
    {
        /// <summary>
        /// Navigate to this object
        /// </summary>
        /// <param name="context"></param>
        void NavigateTo(Session session);

        /// <summary>
        /// Navigate from this object
        /// </summary>
        /// <param name="context"></param>
        void NavigateFrom(Session session);
    }
}